package edu.ucdavis.gwt.gis.client.toolbar.menu;

import com.google.gwt.user.client.ui.Image;

import edu.ucdavis.gwt.gis.client.extras.ServiceAdder;
import edu.ucdavis.gwt.gis.client.toolbar.button.AddLayerButton;

public class AddLayerMenu extends ToolbarMenu {
	
	private AddLayerButton button = new AddLayerButton();
	
	public AddLayerMenu() {
		addItem(button);
	}
	
	@Override
	public Image getIcon() {
		return null;
	}

	@Override
	public String getText() {
		return "Add";
	}
	
	public ServiceAdder getServiceAdder() {
		return button.getServiceAdder();
	}
	

}
